package com.d3works.apps.baml.service;

import com.d3works.apps.bpm.db.BamlModel;
import com.d3works.db.Model;
import com.d3works.exception.D3worksException;
import java.util.Map;

public interface BamlService {

  public String generateGroovyCode(String xml) throws D3worksException;

  public Model execute(BamlModel bamlModel, Model entity);

  public String extractBamlXml(String xml) throws D3worksException;

  public Model execute(BamlModel bamlModel, Map<String, Object> context);
}
